import pytest
import requests
from autoTest_BRTC_API.utils.mysql_util import mydb


@pytest.fixture(scope='session')
def req():
    # 环境预制
    req=requests.session()
    yield req
    # 环境恢复
    sql_del = "delete from UserName where u_phone='121121121';"
    mydb.excute_sql(sql_del)
